package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 party_record
 * 
 * @author ruoyi
 * @date 2021-06-23
 */
public class PartyRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long prId;

    /** 课程id */
    @Excel(name = "课程id")
    private Long peId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long prUserid;

    /** 学习时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "学习时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date prCreatetime;

    /** 课程进度 */
    @Excel(name = "课程进度")
    private Long prProgress;

    public void setPrId(Long prId) 
    {
        this.prId = prId;
    }

    public Long getPrId() 
    {
        return prId;
    }
    public void setPeId(Long peId) 
    {
        this.peId = peId;
    }

    public Long getPeId() 
    {
        return peId;
    }
    public void setPrUserid(Long prUserid) 
    {
        this.prUserid = prUserid;
    }

    public Long getPrUserid() 
    {
        return prUserid;
    }
    public void setPrCreatetime(Date prCreatetime) 
    {
        this.prCreatetime = prCreatetime;
    }

    public Date getPrCreatetime() 
    {
        return prCreatetime;
    }
    public void setPrProgress(Long prProgress) 
    {
        this.prProgress = prProgress;
    }

    public Long getPrProgress() 
    {
        return prProgress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prId", getPrId())
            .append("peId", getPeId())
            .append("prUserid", getPrUserid())
            .append("prCreatetime", getPrCreatetime())
            .append("prProgress", getPrProgress())
            .toString();
    }
}
